Realm Kotlin SDK
/
io.realm.kotlin.types
/
RealmAny
/
Companion
Companion
object
Companion
Content copied to clipboard
Functions
Functions
create
Link copied to clipboard
fun
create
(value:
<ERROR CLASS>
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a Decimal128 value.
inline fun <
T
:
RealmObject
>
create
(realmObject:
T
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
RealmObject
value.
fun
create
(realmObject:
DynamicRealmObject
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
DynamicRealmObject
value.
fun
create
(value:
RealmInstant
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
RealmInstant
value.
fun
create
(value:
RealmUUID
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
RealmUUID
value.
fun
create
(value:
Boolean
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Boolean
value.
fun
create
(value:
Byte
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Byte
value.
fun
create
(value:
ByteArray
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
ByteArray
value.
fun
create
(value:
Char
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Char
value.
fun
create
(value:
Double
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Double
value.
fun
create
(value:
Float
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Float
value.
fun
create
(value:
Int
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from an
Int
value.
fun
create
(value:
Long
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Long
value.
fun
create
(value:
Short
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
Short
value.
fun
create
(value:
String
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
String
value.
fun
create
(value:
BsonObjectId
):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
BsonObjectId
value.
fun <
T
:
RealmObject
>
create
(value:
T
, clazz:
KClass
<out
T
>):
RealmAny
Content copied to clipboard
Creates an unmanaged
RealmAny
instance from a
RealmObject
value and its corresponding
KClass
.